Skip to content

release: v0.4.0 - #10

Open
grzracz wants to merge 2 commits into
mainfrom
release/v0.4.0
Open

release: v0.4.0#10
grzracz wants to merge 2 commits into
mainfrom
release/v0.4.0

Conversation

@grzracz

@grzracz grzracz commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Kicks off the 0.4.0 cycle (version bumps + CHANGELOG roll via release:start).

First change: in-app "What's new" tab

Adds a Settings tab that shows the release notes for the installed version, next to the version in About.

  • Source: CHANGELOG.md is imported raw at build time, so the notes work offline and always match the installed build (single source of truth).
  • src/lib/changelog.ts: pure parser (parseChangelog, sectionForVersion). Exact-version match wins; falls back to the newest released section for dev/web builds that report dev; returns null only when there are no released sections. Unit-tested (7 tests).
  • WhatsNewSection.tsx: renders the matched section with react-markdown + remark-gfm, styled to match Settings. In-note links and the "View full changelog" button route through openExternal so the WebView never navigates away.
  • Settings/index.tsx: new "What's new" tab placed right after General.

Verification

  • vitest parser tests pass (7/7), tsc and eslint clean, vite build bundles the raw import successfully.

Further 0.4.0 changes will land on this branch; tag v0.4.0 when ready to release.

grzracz added 2 commits June 16, 2026 16:24
Adds a Settings tab that renders the bundled CHANGELOG.md section for the
installed version (react-markdown), next to the version in About. Content is
imported raw at build time so it works offline and always matches the build;
sectionForVersion falls back to the newest release for dev/web builds. A 'View
full changelog' link opens the GitHub releases page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant